<?php

declare(strict_types=1);

namespace DreamCat\StateMachine\StateInterface;

use DreamCat\StateMachine\Popo\ActionStatus;
use DreamCat\StateMachine\Popo\MachineData;

/**
 * 复合转移动作的状态查询
 * @author vijay
 */
interface ActionStatusQueryInterface
{
    /**
     * 转移动作的状态查询
     * @param MachineData $machineData 状态机数据
     * @param string $action 动作标识
     * @return ActionStatus 查询结果
     */
    public function transferQueryStatus(MachineData $machineData, string $action): ActionStatus;
}

# end of file
